﻿using D.Medicalcare.Domain.Entities;
using D.Medicalcare.ErrorCode;
using D.Medicalcare.Read.API.Dtos;
using MediatR;

namespace D.Medicalcare.Read.API.Application.Command.RegistrationCommand
{
    /// <summary>
    /// 通过医院Id获取科室Id
    /// </summary>
    public class GetDepartmentIdCommand : IRequest<APIResult<List<Department>>>
    {
        /// <summary>
        /// 医院Id
        /// </summary>
        public int? CampusId { get; set; }

        /// <summary>
        /// 科室Id
        /// </summary>
        public int? DeparId { get; set; }
        /// <summary>
        /// 上级科室
        /// </summary>
        public int? SuperAffiliation { get; set; }
    }
}
